package server;

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface SubwayInterface extends Remote
{
	public String getName()throws RemoteException; 
	public int distance(int startingStationNum, int endStationNum)throws RemoteException; 
	public double ticketPrice(int startingStationNum,int endStationNum)throws RemoteException;
	public boolean checkOut(int id,int startingStationNum,int endStationNum)throws RemoteException; 

}
